﻿using System;
using System.Collections.Generic;

using IDAL.AuthModel;
using Model.AuthModel;
using DALFactory.AuthModel;
namespace BLL.AuthModel
{
    /// <summary>
    /// 通用组件，权限模型，业务层，角色权限
    /// </summary>
    public class RolesAuthBLL
    {
        IRolesAuth dal = DataAccess.CreateRoleAuth();

        /// <summary>
        /// 更新角色的授权
        /// </summary>
        /// <param name="roleID"></param>
        /// <param name="authList"></param>
        /// <returns></returns>
        public bool UpdateRoleAuth(int rolesID, string authList) 
        {
            return dal.UpdateRolesAuth(rolesID, authList);
        }
    }
}
